package cn.edu.ncut.cs.springboot.petmanagementsystem.service;

import cn.edu.ncut.cs.springboot.petmanagementsystem.pojo.PetCareRecord;
import cn.edu.ncut.cs.springboot.petmanagementsystem.vo.PetCareRecordV0;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

public interface PetCareService {
    /**
     * 分页查询宠物护理资料
     */
    Page<PetCareRecordV0> getPageByPetId(Integer pageNum, Integer pageSize, Long petId);

    /**
     * 查看单条护理记录详情
     */
    PetCareRecord getCareRecordById(Long id);

    /**
     * 查看单条护理记录详情（VO）
     */
    PetCareRecordV0 getCareRecordDetailById(Long id);

    /**
     * 添加宠物的日常护理记录
     */
    boolean createCareRecord(PetCareRecord record);

    /**
     * 修改护理记录信息
     */
    boolean updateCareRecord(PetCareRecord record);

    /**
     * 删除护理记录
     */
    boolean deleteCareRecord(Long id);
}
